x86/mwait-idle: switch to using bool
authorJan Beulich <jbeulich@suse.com>
Mon, 24 Jan 2022 07:43:08 +0000 (08:43 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 24 Jan 2022 07:43:08 +0000 (08:43 +0100)
commit83512756a158e7470a39875c8e517a91a6afa5d1
tree1bc693f10b7bfce2f4ab4bd49b510aff26078f25
parent73394e18bcbac9c029d524525ccbb53ca2a7d612
x86/mwait-idle: switch to using bool

When the driver was first ported, we didn't have "bool" yet, so
conversion to bool_t / 0 / 1 was necessary. Undo that conversion, easing
ports of newer changes as well as tidying things up.

Requested-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/cpu/mwait-idle.c